package com.thinkgem.jeesite.modules.ship.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.modules.ship.entity.ShipIllegalReport;
import com.thinkgem.jeesite.modules.ship.dao.ShipIllegalReportDao;

/**
 * 船舶违法举报信息Service
 * @author lgx
 * @version 2016-04-17
 */
@Service
@Transactional(readOnly = true)
public class ShipIllegalReportService extends CrudService<ShipIllegalReportDao, ShipIllegalReport> {

	@Autowired
	private ShipIllegalReportDao shipIllegalReportDao;
	public ShipIllegalReport get(String id) {
		return super.get(id);
	}
	
	public List<ShipIllegalReport> getMulti(ShipIllegalReport shipIllegalReport) {
		return shipIllegalReportDao.getMulti(shipIllegalReport);
	}
	
	public List<ShipIllegalReport> findList(ShipIllegalReport shipIllegalReport) {
		return super.findList(shipIllegalReport);
	}
	
	public Page<ShipIllegalReport> findPage(Page<ShipIllegalReport> page, ShipIllegalReport shipIllegalReport) {
		return super.findPage(page, shipIllegalReport);
	}
	
	@Transactional(readOnly = false)
	public void save(ShipIllegalReport shipIllegalReport) {
		super.save(shipIllegalReport);
	}
	
	@Transactional(readOnly = false)
	public void delete(ShipIllegalReport shipIllegalReport) {
		super.delete(shipIllegalReport);
	}
	
}